package com.tacc.tyun.controller;


import com.github.pagehelper.PageInfo;
import com.github.pagehelper.StringUtil;
import com.tacc.tyun.base.BaseConstant;
import com.tacc.tyun.model.BaseDepart;
import com.tacc.tyun.model.BaseUser;
import com.tacc.tyun.model.info.ReturnEntity;
import com.tacc.tyun.model.info.ReturnInfo;
import com.tacc.tyun.service.BaseDepartMenuService;
import com.tacc.tyun.service.BaseDepartService;
import com.tacc.tyun.service.BaseMenuService;
import com.tacc.tyun.service.BaseUserService;
import com.tacc.tyun.util.DateUtil;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;


import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/2/20 0020.
 */
@Controller
@RequestMapping("/baseUser")
public class BaseUserController extends BaseController {
    private static Logger log= LoggerFactory.getLogger(BaseUserController.class);
    @Resource
    private BaseUserService baseUserService;
    @Resource
    private BaseDepartService baseDepartService;
    @Resource
    private BaseMenuService baseMenuService;
    @Resource
    private BaseDepartMenuService baseDepartMenuService;
    private BaseUser baseUser;



}